	<?php
	header("Content-type: application/vnd.ms-word");
	header("Content-Disposition: attachment;Filename=document_name.doc");
	
	echo "<html>";
	echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Windows-1252\">";
	echo "<body>";
	//echo "<b>My first document</b>";
	
	echo "<tr>";
	echo '<td>'.'------------------------'.'</td>';
	echo '<td>'.'|                       |'.'</td>'.'<br>';
	echo '<td>'.'------------------------'.'</td>';
	echo "</tr>";
	echo "</body>";
	echo "</html>";
	?>